package com.pet.shop.mappers.user;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.user.SysUser;

public interface SysUserMapper {

    int delete(Long id);

    int insert(SysUser record);

    SysUser get(Long id);

    int update(SysUser record);

    Page<SysUser> queryPage(PageDto<SysUser> page);

    SysUser queryByLoginName(String loginName);
}